# vim: ts=4:sw=4:syntax=perl
sub mm_get_rep_description {
my $report=shift;

	my $report2=hex_to_string($report);	
	my ($desc,$err)=$::GRI_FRONTEND->get_report_desc($report2);
	if(!defined($desc) && !defined($err)) {
		return "";
	}
	if(!defined($desc) && defined($err)) {
		return "ERROR :: $err";
	}
	if(length($desc)) {
		return "$desc<p>";
	}
	return "";
}

